home *** CD-ROM | disk | FTP | other *** search
- Path: jojo.IN-Berlin.DE!not-for-mail
- Newsgroups: comp.sys.amiga.programmer
- References: <4ipcd9$24l@sun1000.pwr.wroc.pl> <19960320.3FE920.11D7C@ao091.du.pipex.com> <66095638@jojo.IN-Berlin.DE> <4itm4i$28d@serpens.rhein.de>
- From: "Bernhard Graf" <graf@jojo.IN-Berlin.DE>
- Date: Sun, 24 Mar 1996 08:15:09 +0100
- X-NewsReader: IntuiNews 1.3a (7.9.95)
- Subject: Re: COPROCESSOR EMULATOR..
- Message-ID: <66095651@jojo.IN-Berlin.DE>
-
- In article <4itm4i$28d@serpens.rhein.de>: "Re: COPROCESSOR EMULATOR.."
- Michael van Elst <mlelstv@serpens.rhein.de> wrote:
-
- MvE> "Bernhard Graf" <graf@jojo.IN-Berlin.DE> writes:
- MvE>
- MvE> >Remember that for every task switch you have to store ALL registers of
- MvE> >the old task and restore ALL registers for the next active task.
- MvE>
- MvE> That's what the mathieee libraries have to solve for non-standard
- MvE> coprocessors. They hook into the tasks's dispatch vectors.
-
- If a task is interupted by the MT-dispatcher while running through a
- mathieee-library-routine, it also has to store only this tasks
- FPU-registers and reload them, when regaining processor-control.
- Those non-standard FPU-registers are not defined after leaving the
- ieee-library-routine.
- This is an easy programming task, if you know, how to hook into the
- dispatcher.
- The ieee-libraries are no FPU-emulators (see also note in the last
- paragraph of my posting).
-
- I am still convinced that a FPU-emulator under Amiga-OS is only
- possible, if you start it at boot-time before multitasking is running.
-
- Btw. Many years ago a friend told me that on a PC when you were leaving
- a program written in TurboPascal and compiled with internal FPU-emulator
- option without reloading after execution (kind of making it resident --
- I don't how this is done under MS-DOS), this TP-internal emulator
- was behaving also properly as a system global FPU emulator.
- This feature was not documented in the TP handbooks.
-
-
- Ciao
- --
- Bernhard Graf
- mail graf@jojo.IN-Berlin.DE
- graffbgd@sp.zrz.TU-Berlin.DE
-